<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/2/1 0001
 * Time: 10:25
 */
Route::get('/index', ['uses' => 'App\Base\Controllers\DemoController@index']);
Route::get('/demo/one_upload_index', ['uses' => 'App\Base\Controllers\DemoController@oneUpload']);
Route::get('/demo/muilt_upload_index', ['uses' => 'App\Base\Controllers\DemoController@muiltUpload']);
Route::get('/demo/edit_text_index', ['uses' => 'App\Base\Controllers\DemoController@editText']);
Route::group(['middleware' => ['response']], function () {
    Route::post('/public/upload/pic', ['uses' => 'App\Base\Controllers\PublicController@uploadPic']);  //上传图片
    Route::post('/public/upload/epic', ['uses' => 'App\Base\Controllers\PublicController@uploadPicEdit']);  //上传图片
    Route::post('/public/upload/wxvideo', ['uses' => 'App\Base\Controllers\PublicController@wxUploadVideo']);  //上传微信语音
    Route::post('/public/area/list', ['uses' => 'App\Base\Controllers\PublicController@getAreaList']);  //地址接口
    Route::post('/public/sms/send', ['uses' => 'App\Base\Controllers\SendSmsController@sendSms']);  //地址接口
    Route::post('/public/sms/check', ['uses' => 'App\Base\Controllers\SendSmsController@checkMobile']);  //地址接口
});
//Route::group(['namespace' => 'Base'], function() {
//
//});
